/*
 * @Author: your name
 * @Date: 2020-12-02 09:30:29
 * @LastEditTime: 2020-12-07 10:21:57
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \gitee-WeBi\js\pages\main\index.js
 */
new Vue({
    el: "#zz-main",
    mixins:[
        vue_mixin_basic_info  // 基本信息
    ],
    data: {
        //
        navBarData:[],
        //
        zzzz: "Hello world"
    },
    mounted() {
        // 默认菜单项和导航和页面
        //var cookie_path = $.cookie("zz-old-iframes-path");
        //var init_path = cookie_path?cookie_path:"/index";
        //console.log("---init_navBarData---",zzSideBarObj.getMatchedItemsByIndex((zzSideBarObj.openNavMenu("/index"))));
        //this.getNavBarData(zzSideBarObj.getMatchedItemsByIndex(zzSideBarObj.openNavMenu(init_path)));
        //
        //zzSideBarObj.refreshLocationHref(init_path);
    },
    methods:{
        // 获取路径导航的数据
        getNavBarData(data){
            console.log("---from___getNavBarData---",data);
            this.navBarData = null;
            this.navBarData = data;
        }
    }
});

